<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>我的|团购网</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/my.css"/>
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="//at.alicdn.com/t/font_850978_i0degwyixkd.css"/>
	</head>
	<body>
		<!--头部S-->
		<header class="clearfix">
			<div class="fl back">
				<a href="">Back</a>
			</div>
			<div class="message fr">
				<a href=""><img src="img/message.jpg"/></a>
			</div>
			<div class="title">
				分类
			</div>
		</header>
		<!--头部E-->
		
		<!--主体S-->
		<section>
			<div class="login clearfix">
				<div class="fl lf">
					<img src="img/touxiang.jpg"/>
				</div>
				<div class="fr rg">
					<img src="img/yjt.jpg"/>
				</div>
				<div class="pz">
					<p class="wz30"><a href="">点击登录</a></p>
					<p class="wz26"><a href="">常居地未设置</a></p>
				</div>
			</div>
			<div class="my clearfix">
				<div class="fl dp">
					<img src="img/wddping.png"/>
					我的点评
				</div>
				<div class="fl sc">
					<img src="img/wdsc.png"/>
					我的收藏
				</div>
				<div class="fl yhq">
					<img src="img/youhuiquan.png"/>
					我的优惠券
				</div>
			</div>
			<div class="clearfix option1">
				<div class="fl purse">
					<img src="img/wdqb.jpg"/>
					我的钱包
				</div>
				<div class="fr gd">
					<a href="">
						更多
						<img src="img/gd.jpg"/>
					</a>
				</div>
			</div>
			<div class="clearfix option2">
				<div class="fl review">
					<img src="img/ddping.jpg"/>
					待点评
				</div>
				<div class="fr gd">
					<a href="">
						更多
						<img src="img/gd.jpg"/>
					</a>
				</div>
			</div>
			<div class="clearfix option3">
				<div class="fl friend">
					<img src="img/zhaohaoyou.jpg"/>
					找好友
				</div>
				<div class="fr gd">
					<a href="">
						更多
						<img src="img/gd.jpg"/>
					</a>
				</div>
			</div>
			<div class="clearfix option4">
				<div class="fl slot">
					<img src="img/zuji.jpg"/>
					我的足迹
				</div>
				<div class="fr gd">
					<a href="">
						更多
						<img src="img/gd.jpg"/>
					</a>
				</div>
			</div>
			<div class="clearfix option5">
				<div class="fl set">
					<img src="img/shezhi.jpg"/>
					设置
				</div>
				<div class="fr gd">
					<a href="">
						更多
						<img src="img/gd.jpg"/>
					</a>
				</div>
			</div>
			<div class="clearfix option6">
				<div class="fl contact">
					<img src="img/lx.jpg"/>
					联系
				</div>
				<div class="fr gd">
					<a href="">
						更多
						<img src="img/gd.jpg"/>
					</a>
				</div>
			</div>
			<div class="clearfix option7">
				<div class="fl">
					<a href="">退出</a>
				</div>
				<div class="fr">
					<a href="">注销</a>
				</div>
			</div>
		</section>
		<!--主体E-->
		
		<!--底部S-->
		<footer>
			<ul class="clearfix">
				<li class="fl">
					<a href="page.html">
						<i class="iconfont icon-home"></i>
						<p>首页</p>
					</a>
				</li>
				<li class="fl">
					<a href="classify.html">
						<i class="iconfont icon-classify1"></i>
						<p>分类</p>
					</a>
				</li>
				<li class="fl">
					<a href="compass.html">
						<i class="iconfont icon-compass-o"></i>
						<p>发现</p>
					</a>
				</li>
				<li class="fl">
					<a href="my.html">
						<i class="iconfont icon-myfill"></i>
						<p>我的</p>
					</a>
				</li>
			</ul>
		</footer>
		<!--底部E-->
		
		
		<script>
			 document.body.style.height = window.innerHeight + "px";
    
    /*动态改变根元素字体大小*/
    function recalc() {
      	// 获取客户端宽度
        var clientWidth = document.documentElement.clientWidth;
        if(!clientWidth) return;
         // 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
        document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
       
    }

    function initRecalc() {
        recalc();
        // if(浏览器支持横竖屏切换的事件){横竖屏事件}else{ resize事件 }
        var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
        if(!document.addEventListener) return;
        window.addEventListener(resizeEvt, recalc, false);
        document.addEventListener('DOMContentLoaded', recalc, false);
    }
                initRecalc();
			
		</script>
		
	</body>
</html>
